<template>
  <div>
    <w-edit-user />
    <br />
    <a-card :title="userName">
      <span>用户类型: {{ userType }}</span>
    </a-card>
  </div>
</template>

<script lang="ts">
import { mapGetters } from 'vuex'
import { Vue, Component } from 'vue-property-decorator'
import WEditUser from '@/components/admin/auth/editUser'

@Component({
  name: 'AdminAuthAdmin',
  layout: 'admin',
  components: {
    WEditUser
  },
  computed: {
    ...mapGetters({
      userType: 'auth/USER_TYPE',
      userName: 'auth/USER'
    })
  },
  head () {
    return {
      title: '用户管理'
    }
  }
})
export default class AdminAuthAdmin extends Vue {}
</script>

<style scoped></style>
